package com.ctshk.rpc.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 1/28/2021
 */

@Data
@ApiModel(value="OperationLogDTO对象", description="操作日志")
public class OperationLogDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private long id;
    @ApiModelProperty(value = "用户id")
    private long userId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "业务id")
    private long recordId;
    @ApiModelProperty(value = "操作标题")
    private String title;
    private String model;
    @ApiModelProperty(value = "操作类型")
    private String type;
    @ApiModelProperty(value = "操作描述")
    private String description;
    @ApiModelProperty(value = "操作结果")
    private String result;
    @ApiModelProperty(value = "操作ip")
    private String ip;
    @ApiModelProperty(value = "操作时间")
    private LocalDateTime gmtCreate;
}